package com.example.meeting.service;

import com.example.meeting.model.domain.Meeting;
import com.github.pagehelper.PageInfo;

public interface IMeetingService {
    //查询会议
    Meeting selectMeetingById(Long id);

    //根据议题id查询会议
    Meeting selectMeetingBySubjectId(Long subjectId);

    //动态查询会议列表
    PageInfo<Meeting> selectMeetingList(Integer page, Integer pageSize, Integer user_id, Meeting meeting);

    //新增会议
    Integer addMeeting(Meeting meeting, Integer user_id);

    //更新会议
    Integer updateMeeting(Meeting meeting);

    //删除会议
    Integer deleteMeeting(Long id);
}
